#include "Complier2Actuator.h"

myDBMS::Complier2Actuator::Complier2Actuator()
{
	this->lexResult = new myDBMS::LexResult();
	this->graResult = new myDBMS::GraResult();
}

myDBMS::Complier2Actuator::Complier2Actuator(myDBMS::LexResult* lexResult, myDBMS::GraResult* graResult):
	lexResult(lexResult),
	graResult(graResult)
{
}

myDBMS::Complier2Actuator::~Complier2Actuator()
{
	delete this->lexResult;
	delete this->graResult;
}

myDBMS::LexResult* myDBMS::Complier2Actuator::getLexResult()
{
	return this->lexResult;
}

myDBMS::GraResult* myDBMS::Complier2Actuator::getGraResult()
{
	return this->graResult;
}
